package at.fhj.itm11.forum.service.stubs;

import java.net.URL;
import java.rmi.Remote;
import java.util.Iterator;

import javax.xml.namespace.QName;
import javax.xml.rpc.Call;
import javax.xml.rpc.ServiceException;
import javax.xml.rpc.encoding.TypeMappingRegistry;
import javax.xml.rpc.handler.HandlerRegistry;

import at.fhj.itm11.forum.ws.FHJForumAuthWS_PortType;
import at.fhj.itm11.forum.ws.FHJForumAuthWS_Service;

public class FHJForumAuthWS_ServiceStub implements FHJForumAuthWS_Service {

	public Object exceptionToThrow;
	public FHJForumAuthWS_PortType webService;

	@Override
	public Call createCall() throws ServiceException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Call createCall(QName portName) throws ServiceException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Call createCall(QName portName, QName operationName)
			throws ServiceException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Call createCall(QName portName, String operationName)
			throws ServiceException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Call[] getCalls(QName portName) throws ServiceException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public HandlerRegistry getHandlerRegistry() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Remote getPort(Class serviceEndpointInterface)
			throws ServiceException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Remote getPort(QName portName, Class serviceEndpointInterface)
			throws ServiceException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Iterator getPorts() throws ServiceException {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public QName getServiceName() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public TypeMappingRegistry getTypeMappingRegistry() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public URL getWSDLDocumentLocation() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public String getFHJForumAuthWSPortAddress() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public FHJForumAuthWS_PortType getFHJForumAuthWSPort()
			throws ServiceException {

		if (exceptionToThrow instanceof ServiceException) {
			throw (ServiceException) exceptionToThrow;
		}

		return webService;
	}

	@Override
	public FHJForumAuthWS_PortType getFHJForumAuthWSPort(URL portAddress)
			throws ServiceException {
		// TODO Auto-generated method stub
		return null;
	}

}
